Skip to content

Add Renesas platform integration - #59

Merged
mzella-ll merged 1 commit into
CiscoDevNet:mainfrom
mzella-ll:feature/add-renesas-platform
Jul 24, 2026
Merged

Add Renesas platform integration#59
mzella-ll merged 1 commit into
CiscoDevNet:mainfrom
mzella-ll:feature/add-renesas-platform

Conversation

@mzella-ll

Copy link
Copy Markdown
Collaborator

Summary

This PR adds the Renesas Wi-SUN platform integration for OpenCSMP.

It introduces the Renesas-specific OSAL implementation, platform configuration headers, wrapper interface, vendor documentation/resources, and sample Renesas TLVs.

This branch includes the following related changes:

  • Fix Renesas CC-RX compiler warnings
  • Add Renesas IANA Private Enterprise Number
  • Move firmware management configuration to platform-specific OSAL types

Changes

Renesas platform integration

  • Add Renesas vendor documentation:
    • Vendors/Renesas/Readme.md
  • Add Renesas vendor resource:
    • Vendors/Renesas/resources/renesas-logo.jpg
  • Add Renesas Wi-SUN OSAL platform files:
    • osal/renesas_wisun/osal_platform_types.h
    • osal/renesas_wisun/osal_renesas_config.h
    • osal/renesas_wisun/osal_renesas_wisun.c
    • osal/renesas_wisun/osal_renesas_wrapper.h
  • Add Renesas-specific TLV sample:
    • sample/tlvs/renesas_tlvs.c

Included prerequisite changes

  • Add the Renesas IANA Private Enterprise Number:
    • RENESAS = 63257
  • Move firmware management configuration from the generic osal/osal.h header to platform-specific osal_platform_types.h headers
  • Fix compiler warnings reported by the Renesas CC-RX compiler:
    • enum/integer type mixing
    • signedness-changing integer conversions
    • missing default handling in a switch statement

Motivation

The Renesas Wi-SUN platform requires a dedicated OSAL integration layer and platform-specific configuration to use OpenCSMP in a Renesas-based environment.

This PR adds the required platform abstraction files and keeps Renesas-specific configuration and wrapper code separated from the generic OSAL interface.

The included prerequisite changes are needed to make the codebase suitable for the Renesas toolchain and platform structure.

Related issues

Fixes #44
Fixes #51

@mzella-ll
mzella-ll force-pushed the feature/add-renesas-platform branch from ea07e2b to 2923af7 Compare June 2, 2026 01:07
@manojnacsl manojnacsl added the renesas Renesas Electronics Corporation | renesas.com label Jun 10, 2026
@manojnacsl
manojnacsl self-requested a review June 23, 2026 15:42
@mzella-ll
mzella-ll force-pushed the feature/add-renesas-platform branch from 2923af7 to 752ba23 Compare July 6, 2026 02:39
@manojnacsl
manojnacsl requested a review from woobagooba July 10, 2026 07:35
Comment thread osal/efr32_wisun/osal_platform_types.h Outdated
Comment thread osal/freertos/osal_freertos.c Outdated
Comment thread osal/freertos/osal_platform_types.h Outdated
Comment thread osal/renesas_wisun/osal_renesas_wisun.c
Comment thread osal/renesas_wisun/osal_renesas_wisun.c
Comment thread osal/osal.h
Comment thread src/csmpagent/csmp_firmwareMgmt.c
Comment thread src/csmpagent/csmp_group.c Outdated
Comment thread src/csmpagent/csmpagent.h Outdated
Comment thread src/lib/protobuf-c/protobuf-c.c
@manojnacsl

Copy link
Copy Markdown
Collaborator

We'll discuss and resolve the review comments in the scheduled review discussion. Thanks.

@woobagooba woobagooba left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have the reviewed the entirety of the PR and have no further comments beyond those made by Manojna.

@mzella-ll
mzella-ll force-pushed the feature/add-renesas-platform branch from 752ba23 to ee9049d Compare July 22, 2026 04:02
Comment thread include/csmp_service.h
Comment thread src/coap/coap.h
@mzella-ll

Copy link
Copy Markdown
Collaborator Author

The PR has been updated. In addition to handling the comments, the Readme has been extended to integrate information about the proprietary library and compiler as well as the used proprietary APIs.

@manojnacsl manojnacsl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

Comment thread osal/renesas_wisun/osal_renesas_wisun.c
Comment thread include/csmp_service.h
Comment thread src/lib/protobuf-c/protobuf-c.c
@mzella-ll
mzella-ll force-pushed the feature/add-renesas-platform branch from 2bbd573 to ae41b3a Compare July 24, 2026 04:49
- Add the Renesas-specific OSAL platform implementation,
  configuration headers and sample TLVs
- Add Renesas IANA Private Enterprise Number
- Fix Renesas CC-RX compiler warnings
@mzella-ll
mzella-ll force-pushed the feature/add-renesas-platform branch from 9412af3 to 0e4504e Compare July 24, 2026 05:19
@mzella-ll
mzella-ll merged commit 7e6ba60 into CiscoDevNet:main Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

renesas Renesas Electronics Corporation | renesas.com

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move firmware management configuration to platform-specific OSAL types Fix Renesas CC-RX compiler warnings

3 participants